package cn.iocoder.yudao.module.scenic.controller.admin.spot.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 实践点分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SpotPageReqVO extends PageParam {

    @Schema(description = "实践点名称", example = "赵六")
    private String name;

    @Schema(description = "实践点描述", example = "你猜")
    private String description;

    @Schema(description = "部门id", example = "24176")
    private Long deptId;

    @Schema(description = "联系人")
    private String contact;

    @Schema(description = "联系人号码")
    private String contactNumber;

    @Schema(description = "今日是否开门")
    private Boolean isOpen;

    @Schema(description = "开放时间")
    private String openTime;

    @Schema(description = "省id", example = "7842")
    private Long provinceId;

    @Schema(description = "市id", example = "379")
    private Long cityId;

    @Schema(description = "区县id", example = "16029")
    private Long districtId;

    @Schema(description = "宣传照片，多个,分割", example = "https://www.iocoder.cn")
    private String photoUrl;

    @Schema(description = "宣传视屏，多个,分割", example = "https://www.iocoder.cn")
    private String videoUrl;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "地址")
    private String address;

    @Schema(description = "VR地址")
    private String vrAddress;

}